<?php
//通过手机号码，验证系统有无此用户
$user = Blyn::app()->getCurrentUser();
$mobileAttr = $user->getAttribute('userInfo.mobile');
if ($mobileAttr != NULL) {
    $mobile = $mobileAttr->getValue();
    $control->renderView("memberCardUserInfo");
}  else {
    //系统无此用户信息，进行验证
    $control->renderView("memberCardAuthUser");
}
?>